
			
			<div class="container">
				<div class="slide-form">
				<div class="page-header" style="position:relative;">
					<h3>Edit Slide</h3>
				</div>
					<?php echo form_open_multipart('slide/updatedata/'. $hasil->slide_id,'class ="form-horizontal" ', 'id = "slide-form"');?>
                       <div class="control-group">
							<label class="control-label" for="slide_name">Slide Name<span style="color: red;">*</span></label>
							<div class="controls">
								<input type="text" name="slide_name" value="<?php echo set_value('slide_name', $hasil->slide_name); ?>" />
                                <label class="error"><?php echo form_error('slide_name'); ?></label>
							</div>
						</div>
                        <hr />
                        <div class="control-group">
							<label class="control-label" for="slide_image">Image</label>
							<div class="controls">
								<input type="file" id="slide_image" name="slide_image" value="<?php echo base_url();?>data/slide/upload<?php echo set_value('slide_image', $hasil -> slide_image); ?>" /> 
                                <label class="error"><?php echo form_error('slide_image'); ?></label> 
							</div>
						</div>  
                        <hr />
                        <div class="control-group">
							<label class="control-label" for="slide_description">Description</label>
							<div class="controls">
								<textarea type="text" name="slide_description" value="<?php echo $hasil->slide_description ?>" ><?php echo set_value('slide_description', $hasil->slide_description); ?></textarea> 
                                <label class="error"><?php echo form_error('slide_description'); ?></label>
							</div>
						</div>
                        <hr>
						<div class="control-group">
							<label class="control-label" for="status">Status</label>
							<div class="controls">
								<select id="status" name="status">
									<?php if ($hasil->status) { ?>
									  <option value="1" selected="selected">Enabled</option>
									  <option value="0">Disabled</option>
									 
									  <?php } else { ?>
									   <option value="1">Enabled</option>
									  <option value="0" selected="selected">Disabled</option>
									  <?php } ?>
								</select>
                                <label class="error"><?php echo form_error('status'); ?></label>
							</div>
						</div>
                        <div class="form-actions">
                    		<input class="btn btn-primary" id="submit" type="submit" value="Save Change" />
                    		<input class="btn" type="button" name="cancel" value="Cancel" onclick="self.history.back()" />
                        </div>
                    <?php echo form_close(); ?>
				</div>
			</div>

		